import sys

from PyQt6.QtCore import Qt
from PyQt6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QApplication
from qfluentwidgets import CardWidget, PushButton, SearchLineEdit
#这个项目很多模块,只要能从qfluentwidgets中导入,就从qfluentwidget中导入

class StudentInterface(CardWidget):
    def __init__(self):
        super().__init__()
        self.resize(600, 600)

        self.vBoxLayout = QVBoxLayout(self)
        self.card_widget=CardWidget(self)
        hBoxLayout = QHBoxLayout(self.card_widget)
        self.vBoxLayout.addWidget(self.card_widget,alignment=Qt.AlignmentFlag.AlignTop)


if __name__=='__main__':
    app=QApplication(sys.argv)
    w=StudentInterface()
    w.show()
    sys.exit(app.exec())



























